package com.lyh.system.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyh.system.domain.AssetEvidence;
import org.apache.ibatis.annotations.Mapper;

/**
 * 资产通证Mapper接口
 * 
 * @author ruoyi
 * @date 2023-04-27
 */
@Mapper
public interface AssetEvidenceMapper extends BaseMapper<AssetEvidence>
{
    /**
     * 查询资产通证
     * 
     * @param id 资产通证主键
     * @return 资产通证
     */
    public AssetEvidence selectAssetEvidenceById(Long id);

    /**
     * 查询资产通证列表
     * 
     * @param assetEvidence 资产通证
     * @return 资产通证集合
     */
    public List<AssetEvidence> selectAssetEvidenceList(AssetEvidence assetEvidence);

    /**
     * 新增资产通证
     * 
     * @param assetEvidence 资产通证
     * @return 结果
     */
    public int insertAssetEvidence(AssetEvidence assetEvidence);

    /**
     * 修改资产通证
     * 
     * @param assetEvidence 资产通证
     * @return 结果
     */
    public int updateAssetEvidence(AssetEvidence assetEvidence);

    /**
     * 删除资产通证
     * 
     * @param id 资产通证主键
     * @return 结果
     */
    public int deleteAssetEvidenceById(Long id);

    /**
     * 批量删除资产通证
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssetEvidenceByIds(Long[] ids);
}
